# -*- coding: utf-8 -*-
#----------------------------------------------------------------------------
# File: $Id: jasmine.py 13 2007-12-01 05:57:19Z mingli.yuan $
# Revision: $Revision: 13 $
#----------------------------------------------------------------------------
# py-jasmine: A python GUI tool for pdf journal making
# Copyright (C) 2007  Mingli Yuan
#
# This program is a part of py-jasmine.
#
# py-jasmine is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# py-jasmine is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with py-jasmine. If not, see <http://www.gnu.org/licenses/>.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://py-jasmine.googlecode.com/svn/trunk/.
#
#----------------------------------------------------------------------------

"""py-jasmine main script
@version: $Id: jasmine.py 13 2007-12-01 05:57:19Z mingli.yuan $
@author: Mingli Yuan <me@mingli-yuan.info>
@license: gpl
"""

__version__ = "$Revision: 13 $"


import sys
import wx

from jasmine_frame import JasmineFrame


class JasmineApp(wx.App):
    """The Main class for py-jasmine application."""

    def __init__(self):
        wx.App.__init__(self, redirect=False)
        frame = JasmineFrame(None, wx.ID_ANY, "Jasmine", size=(750, 590))
        frame.Show()


def main(argv):
    app = JasmineApp()
    app.MainLoop()


if __name__ == "__main__":
    main(sys.argv)


